<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Synan: ISentencesCollection Interface Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<h1>ISentencesCollection Interface Reference</h1><!-- doxytag: class="ISentencesCollection" --><code>import &quot;<a class="el" href="SynAn_8idl-source.html">SynAn.idl</a>&quot;;</code>
<p>
<a href="classISentencesCollection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a0">InitializeProcesser</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a1">ProcessData</a> ([in] IUnknown *piPlmLine)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a2">SentencesCount</a> ([out, retval] long *pVal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a3">Sentence</a> ([in]long i,[out, retval] <a class="el" href="classISentence.html">ISentence</a> **pVal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a4">ClearSentences</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a5">EnableThesauri</a> ([in] BOOL newVal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a7">SilentMode</a> ([in] BOOL newVal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a8">SetThesaurus</a> ([in] UINT ThesId,[in] IUnknown *Thes)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a9">KillHomonymsMode</a> ([out, retval] UINT *pVal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a11">SetLemmatizer</a> ([in] IUnknown *Interf)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a12">SetOborDic</a> ([in] IUnknown *Interf)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a13">DeleteEqualPrimitiveClauseVariants</a> ([out, retval] BOOL *pVal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISentencesCollection.html#a15">SyntaxLanguage</a> ([out, retval] int *pVal)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
ISentencesCollection is the utmost interface in Dialing Syntax MOdule. It contains a set of sentences, i.e. the input text. It also provides an access to all options of the syntax process.
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a4"></a><!-- doxytag: member="ISentencesCollection::ClearSentences" ref="a4" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::ClearSentences           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
deletes the set of processed sentences     </td>
  </tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="ISentencesCollection::DeleteEqualPrimitiveClauseVariants" ref="a13" args="([out, retval] BOOL *pVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::DeleteEqualPrimitiveClauseVariants           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[out, retval] BOOL *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pVal</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
true, if the syntax module should delete all morphological variants which are less than the maximum by the coverage weight     </td>
  </tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="ISentencesCollection::EnableThesauri" ref="a5" args="([in] BOOL newVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::EnableThesauri           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] BOOL&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>newVal</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
enables or disables thesauri     </td>
  </tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="ISentencesCollection::InitializeProcesser" ref="a0" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::InitializeProcesser           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The method should be called in order to load all dictionaries in the memory It always should precede a call of ProcessData.     </td>
  </tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="ISentencesCollection::KillHomonymsMode" ref="a9" args="([out, retval] UINT *pVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::KillHomonymsMode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[out, retval] UINT *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pVal</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
KillHomonymsMode sets the mode of killing homonyms. Possible values of this mode are DontKillHomonyms=0, CoverageKillHomonyms=1     </td>
  </tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="ISentencesCollection::ProcessData" ref="a1" args="([in] IUnknown *piPlmLine)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::ProcessData           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] IUnknown *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>piPlmLine</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
creates a syntax structure by the input text     </td>
  </tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="ISentencesCollection::Sentence" ref="a3" args="([in]long i,[out, retval] ISentence **pVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::Sentence           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] long&nbsp;</td>
          <td class="mdname" nowrap> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>[out, retval] <a class="el" href="classISentence.html">ISentence</a> **&nbsp;</td>
          <td class="mdname" nowrap> <em>pVal</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
returns a sentence by an index     </td>
  </tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="ISentencesCollection::SentencesCount" ref="a2" args="([out, retval] long *pVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::SentencesCount           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[out, retval] long *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pVal</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
the number of processed sentences     </td>
  </tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="ISentencesCollection::SetLemmatizer" ref="a11" args="([in] IUnknown *Interf)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::SetLemmatizer           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] IUnknown *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>Interf</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
sets a pointer to lemmatizer, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads a new copy of lemmatizer     </td>
  </tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="ISentencesCollection::SetOborDic" ref="a12" args="([in] IUnknown *Interf)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::SetOborDic           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] IUnknown *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>Interf</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
sets a pointer to the dictionary of oborots, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads a new copy of the dictionary     </td>
  </tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="ISentencesCollection::SetThesaurus" ref="a8" args="([in] UINT ThesId,[in] IUnknown *Thes)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::SetThesaurus           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] UINT&nbsp;</td>
          <td class="mdname" nowrap> <em>ThesId</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>[in] IUnknown *&nbsp;</td>
          <td class="mdname" nowrap> <em>Thes</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
sets a pointer to thesaurus ThesId, this function should be called before InitializeProcesser, otherwise procedure InitializeProcesser loads this thesaurus     </td>
  </tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="ISentencesCollection::SilentMode" ref="a7" args="([in] BOOL newVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::SilentMode           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[in] BOOL&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>newVal</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
true, if no error message should occur during processing     </td>
  </tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="ISentencesCollection::SyntaxLanguage" ref="a15" args="([out, retval] int *pVal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">HRESULT ISentencesCollection::SyntaxLanguage           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">[out, retval] int *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>pVal</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
SyntaxLanguage is the language of the syntax module. Possible values are morphRussian = 1, morphGerman = 3. This initialization should be done before InitializeProcesser     </td>
  </tr>
</table>
<hr>The documentation for this interface was generated from the following file:<ul>
<li><a class="el" href="SynAn_8idl-source.html">SynAn.idl</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Feb 7 15:38:49 2006 for Synan by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>
